package com.pajk.user.dal.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.pajk.user.model.CreditRule;


/**
 * Created by chenhaihua on 14-4-30.
 */
public interface CreditRuleMapper {
    
    public void insertCreditRule(CreditRule creditRule);
    public CreditRule getCreditRuleByActionCode(@Param("actionCode")String actionCode);
    public List<CreditRule> getCreditRule();
    public int updateCreditRuleByActionCode(CreditRule creditRule);
    public int deleteCreditRuleByActionCode(@Param("actionCode")String actionCode);
    

}
